<script>
import tool from "@/mixins/toolBar/tool";

export default {
  name: "TextBoxTool",
  mixins: [tool],
  props: {
    scale: {
      type: Number,
      default: 1,
    },
    settings: {
      type: [Object, null],
      default: null,
    },
  },
  data() {
    return {
      icon: "fa-file-word-o",
      name: "文字识别",
      cursor: "copy",
    };
  },
  methods: {
    onMouseDown(event) {

    },
  },
  computed: {
    isDisabled() {
      return false;
    },
  },
  watch: {
    isActive(active) {
      if (active) {
        this.tool.activate();
        localStorage.setItem("editorTool", this.name);
      }
    }
  },
  created() {},
  mounted() {},
};
</script>
